package com.wdg.service.impl;

import com.wdg.dao.IGetNeedsDao;
import com.wdg.pojo.*;
import com.wdg.service.IGetNeedsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GetNeedsServiceImpl implements IGetNeedsService {

    @Autowired
    private IGetNeedsDao getNeedsDao;

    @Override
    public List<Cbtool> getAllCbtool() {
        return getNeedsDao.getAllCbtool();
    }

    @Override
    public List<Cbtaste> getAllCbtaste() {
        return getNeedsDao.getAllCbtaste();
    }

    @Override
    public List<Cbdifficulty> getAllCbdifficulty() {
        return getNeedsDao.getAllCbdifficulty();
    }

    @Override
    public List<Cbcratf> getAllcratf() {
        return getNeedsDao.getAllcratf();
    }

    @Override
    public List<Cbtime> getAllCbtime() {
        return getNeedsDao.getAllCbtime();
    }
}
